package com.hnevc.mallserver3.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "CartDTO", description = "购物车信息")
public class CartDTO {
    @ApiModelProperty(value = "购物车记录编号")
    private Long id;
    @ApiModelProperty(value = "商品名称")
    private String goodsName;
    @ApiModelProperty(value = "商品价格")
    private Double price;
    @ApiModelProperty(value = "商品数量")
    private Integer quantity;
    @ApiModelProperty(value = "商品图片")
    private String icon;
    @ApiModelProperty(value = "是否选中")
    private Boolean selected;

    // 省略getter和setter方法
}
